package com.example.pojo;

import lombok.Data;

import java.io.Serializable;

@Data
public class Ticket implements Serializable {
    private long id;
    private String name;
    private double price;
    private String db;
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDb() {
        return db;
    }

    public void setDb(String db) {
        this.db = db;
    }
}
